# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkgpdb.endpoint import endpoint_data

class CreateCollectionRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CreateCollection')
		self.set_method('POST')

		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

	def get_Metadata(self): # String
		return self.get_query_params().get('Metadata')

	def set_Metadata(self, Metadata):  # String
		self.add_query_param('Metadata', Metadata)
	def get_FullTextRetrievalFields(self): # String
		return self.get_query_params().get('FullTextRetrievalFields')

	def set_FullTextRetrievalFields(self, FullTextRetrievalFields):  # String
		self.add_query_param('FullTextRetrievalFields', FullTextRetrievalFields)
	def get_ManagerAccount(self): # String
		return self.get_query_params().get('ManagerAccount')

	def set_ManagerAccount(self, ManagerAccount):  # String
		self.add_query_param('ManagerAccount', ManagerAccount)
	def get_DBInstanceId(self): # String
		return self.get_query_params().get('DBInstanceId')

	def set_DBInstanceId(self, DBInstanceId):  # String
		self.add_query_param('DBInstanceId', DBInstanceId)
	def get_Dimension(self): # Long
		return self.get_query_params().get('Dimension')

	def set_Dimension(self, Dimension):  # Long
		self.add_query_param('Dimension', Dimension)
	def get_ManagerAccountPassword(self): # String
		return self.get_query_params().get('ManagerAccountPassword')

	def set_ManagerAccountPassword(self, ManagerAccountPassword):  # String
		self.add_query_param('ManagerAccountPassword', ManagerAccountPassword)
	def get_Collection(self): # String
		return self.get_query_params().get('Collection')

	def set_Collection(self, Collection):  # String
		self.add_query_param('Collection', Collection)
	def get_OwnerId(self): # Long
		return self.get_query_params().get('OwnerId')

	def set_OwnerId(self, OwnerId):  # Long
		self.add_query_param('OwnerId', OwnerId)
	def get_Parser(self): # String
		return self.get_query_params().get('Parser')

	def set_Parser(self, Parser):  # String
		self.add_query_param('Parser', Parser)
	def get_Namespace(self): # String
		return self.get_query_params().get('Namespace')

	def set_Namespace(self, Namespace):  # String
		self.add_query_param('Namespace', Namespace)
